package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by Administrator on 2017/1/18.
 */
@Controller
public class Hello {
    @RequestMapping("/show.action")
    @ResponseBody
    public String show(){
        return "show.action hello jsp hello world";
    }

    @RequestMapping("/show.do")
    @ResponseBody
    public String shows(){
        return "show.do hello jsp hello world";
    }
}
